package com.newpage.module_gather.contract;

import com.wetao.lib_common.base.BasePresenter;
import com.wetao.lib_common.base.BaseResponse;
import com.wetao.lib_common.base.BaseViewImp;
import com.wetao.lib_common.bean.response.ExaminationPointInfo;
import com.wetao.lib_common.bean.response.QuestionExplainListInfo;
import com.wetao.lib_common.bean.response.SubjectInfo;
import com.wetao.lib_common.bean.response.WrongQuestionListInfo;

import java.util.HashMap;

/**
 * author: zhouyh
 * created on: 2021/6/9 3:12 下午
 * description:
 */
public interface QuestionManagerCon {

    interface View extends BaseViewImp{

        void selectWrongQuestionListResult(WrongQuestionListInfo resp);
        void selectWrongQuestionListFail();
        void getExaminationPointInfoResult(ExaminationPointInfo resp);
        void getExaminationPointInfoFail();

        void querySubjectBySectionIdResult(SubjectInfo resp);
        void querySubjectBySectionIdFail();

    }

    abstract class Presenter extends BasePresenter<View> {

        public abstract void selectWrongQuestionList(HashMap<String, String> map,boolean isDialog, boolean cancelable);
        public abstract void getExaminationPointInfo(HashMap<String, String> map,boolean isDialog, boolean cancelable);

        public abstract void querySubject(HashMap<String, String> map, boolean isDialog, boolean cancelable);


    }
}
